package tech.aistar.corejava.test.prototype;

public class EnterpriseOrder extends  AbstractOrder {
	/**
	 * 企业名称
	 */
	private String enterpriseName;
	public String getEnterpriseName() {
		return enterpriseName;
	}
	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}
	/**
	 * 企业订单克隆
	 */
	@Override
	public IOrderProcess cloneOrder() {
		EnterpriseOrder cloneObject =  new EnterpriseOrder();
		cloneObject.setEnterpriseName(this.getEnterpriseName());
		cloneObject.setOrderProductNum(this.getOrderProductNum());
		cloneObject.setProductId(this.getProductId());
		return cloneObject;
	}

}
